//
//  CommentAnswerTableViewCell.m
//  Toyohu
//
//  Created by Heige on 16/5/9.
//  Copyright © 2016年 celia. All rights reserved.
//

#import "CommentAnswerTableViewCell.h"
#import "QAModel.h"
@implementation CommentAnswerTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
-(void)setModel:(QAModel *)model
{
    _model = model;
    _title.text = model.caTitle;
    _collectionNum.text = [NSString stringWithFormat:@"%ld",model.caFavNum];
    _commentNum.text = [NSString stringWithFormat:@"%ld",model.caCommentNum];
    _content.text = model.caContent;
    _tags.text  = [NSString stringWithFormat:@"%ld",model.caPraiseNum];
}


@end
